from rest_framework import serializers

from app.models.banner import Banner


class BannerSerializer(serializers.ModelSerializer):
    class Meta:
        model = Banner
        fields = ('image_url', 'url', 'order')
